package util.entityhelper;

import entity.UserAccessRightsEntity;
import entity.StaffEntity;
import entity.UserRoleEntity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class StaffAccountState implements Serializable {
    private Long id;
    private String username;
    private String password;
    private Date creationDate;
    private Date passwordChangeDate;
    private boolean status;
    
    private List<UserAccessRightsEntity> accessRights = new ArrayList<UserAccessRightsEntity>();
    private StaffEntity staff;
    private UserRoleEntity userRoleType;

    /** Creates a new instance of StaffAccountState */
    public StaffAccountState(Long accountId, String username,
            String password, Date creationDate,
            Date passwordChangeDate, boolean status,
            List<UserAccessRightsEntity> accessRights, StaffEntity staff, UserRoleEntity userRoleType) {
        this.setId(accountId);
        this.setUsername(username);
        this.setPassword(password);
        this.setCreationDate(creationDate);
        this.setPasswordChangeDate(passwordChangeDate);
        this.setStatus(status);
        this.setAccessRights(accessRights);
        this.setStaff(staff);
        this.setUserRoleType(userRoleType);
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public StaffEntity getStaff() {
        return staff;
    }

    public void setStaff(StaffEntity staff) {
        this.staff = staff;
    }

    public Date getPasswordChangeDate() {
        return passwordChangeDate;
    }

    public void setPasswordChangeDate(Date passwordChangeDate) {
        this.passwordChangeDate = passwordChangeDate;
    }

    public boolean getStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public List<UserAccessRightsEntity> getAccessRights() {
        return accessRights;
    }

    public void setAccessRights(List<UserAccessRightsEntity> accessRights) {
        this.accessRights = accessRights;
    }

    public UserRoleEntity getUserRoleType() {
        return userRoleType;
    }

    public void setUserRoleType(UserRoleEntity userRoleType) {
        this.userRoleType = userRoleType;
    }
    
    
}